package com.ruoyi.lecturer.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 讲师信息对象 lecturer
 * 
 * @author ruoyi
 * @date 2025-10-10
 */
public class Lecturer extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 讲师ID */
    private Long id;

    /** 讲师姓名 */
    @Excel(name = "讲师姓名")
    private String name;

    /** 头像 */
    @Excel(name = "头像")
    private String avatar;

    /** 职称 */
    @Excel(name = "职称")
    private String title;

    /** 简介 */
    @Excel(name = "简介")
    private String intro;

    /** 所属机构ID */
    @Excel(name = "所属机构ID")
    private Long orgId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setAvatar(String avatar) 
    {
        this.avatar = avatar;
    }

    public String getAvatar() 
    {
        return avatar;
    }

    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }

    public void setIntro(String intro) 
    {
        this.intro = intro;
    }

    public String getIntro() 
    {
        return intro;
    }

    public void setOrgId(Long orgId) 
    {
        this.orgId = orgId;
    }

    public Long getOrgId() 
    {
        return orgId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("avatar", getAvatar())
            .append("title", getTitle())
            .append("intro", getIntro())
            .append("orgId", getOrgId())
            .append("createTime", getCreateTime())
            .toString();
    }
}
